for i in {1..4};
do
	echo -n "------------ Test $i..."
#	if `g++ src/compiletestsmain.cpp src/templatetests/*.cpp -D ERROR_TEST_$i -o testCompilation` 
	if `g++ src/compiletestsmain.cpp src/templatetests/*.cpp -D ERROR_TEST_$i -o testCompilation 2>/dev/null` 
	then
		echo ""
        echo "[0;40m - -  - - - - - - - - - - - - - - - - - - -  - "
        echo -n "[0m"
        echo "[40m-- [1;5;31mERROR_TEST_$i DID NOT CAUSE AN ERROR !!!!![0;40m --";
        echo "[0;40m - -  - - - - - - - - - - - - - - - - - - -  - "
        echo -n "[0m"
	else
        echo "[1;32mCRASHES -- OK [m";
	fi;
done

